#ifndef DATABASE_MANAGER_H
#define DATABASE_MANAGER_H

#include <QtCore/QObject>
#include <QtSql/QSqlQuery>
#include "dbmanager/sql_query.h"
#include "global.h"

namespace smsbilling {

class DatabaseManagerPrivate;

class DatabaseManager : public QObject {
  Q_OBJECT
public:

  DatabaseManager();

  ~DatabaseManager();

public slots:

  void execute(SqlQuery *query);

private:

  friend class DatabaseManagerPrivate;

  DatabaseManagerPrivate *p;
};

} // namespace smsbilling

#endif // DATABASE_MANAGER_H
